gridpack::parallel::WrappedDistributed Class Reference

A distributed object that's just a wrapper around another distributed object. More...

#include <distributed.hpp>

Inheritance diagram for gridpack::parallel::WrappedDistributed:
Inheritance graph
[legend]
Collaboration diagram for gridpack::parallel::WrappedDistributed:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 WrappedDistributed (const WrappedDistributed &old)
 Protected copy constructor to avoid unwanted copies.
 ~WrappedDistributed (void)
 Destructor.
const Communicatorcommunicator (void) const
 Get the communicator.

Detailed Description

A distributed object that's just a wrapper around another distributed object.

This serves as a subclass to a class that wraps a Distributed class instance. In that case, it's desireable to have the wrapper class act like a Distributed instance, but not duplicate the information in the wrapped class.


Constructor & Destructor Documentation

gridpack::parallel::WrappedDistributed::WrappedDistributed ( const WrappedDistributed old  ) 

Protected copy constructor to avoid unwanted copies.

gridpack::parallel::WrappedDistributed::~WrappedDistributed ( void   ) 

Destructor.


Member Function Documentation

const Communicator& gridpack::parallel::WrappedDistributed::communicator ( void   )  const [virtual]

Get the communicator.

Implements gridpack::parallel::DistributedInterface.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Feb 2020 for GridPACK by  doxygen 1.6.1